<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
    <%@ taglib prefix="my" uri="/WEB-INF/mytag/seleccts.tld"%>
    <%@ taglib prefix="b" uri="/WEB-INF/mytag/buttons.tld"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Insert title here</title>
<jsp:include page="/pages/common.jsp" />
<script type="text/javascript" src="/XYL/static/project/power/power.js"></script>
</head>
<body>
	<div class="btn-toolbar">
	<b:buttons type="button" cssclass="btn btn-myself" id="btn-add" content="添加" icon="fa fa-plus" permit="RESOURCEADD"></b:buttons>
		<b:buttons type="button" cssclass="btn btn-myself" id="btn-edit" content="修改" icon="fa fa-edit" permit="RESOURCEEDIT"></b:buttons>
		<b:buttons type="button" cssclass="btn btn-myself" id="btn-del" content="删除" icon="fa fa-remove" permit="RESOURCEDELETE"></b:buttons>
	</div>
	<!-- <ul id="tt" class="easyui-tree" data-options="url:'/XYL/power/list',method:'get',animate:true,checkbox:true">
	</ul> -->
	<ul id="tt"></ul>
	<div class="win_hidden_div">
	<!--编辑表单  -->
		<div id="edit" iconCls="icon-save" title="编辑">
			<div class="easyui-layout" data-options="fit:true">
				<form id="editForm" method="post">
					<div data-options="region:'center',border:false" style="padding:10px;">
						<input id="form_resourceParent" type="hidden" name="resourceParent"></input>
						<input type="hidden" name="resourceId"></input>
						<table>
							<tr>
								<td><label for="resourceName">资源名称:</label></td>
								<td><input class="easyui-validatebox" type="text" name="resourceName" required="true"></input></td>
							</tr>
							<tr>
								<td><label for="permit">资源编码:</label></td>
								<td><input class="easyui-validatebox" type="text" name="permit" required="true"></input></td>
							</tr>
							<tr>
								<td><label for="permit">资源类型:</label></td>
								<td><my:selects name="resourceType" code="MENUCODE" defaltValue="flase"></my:selects></td>
							</tr>
							<tr>
								<td><label for="permit">资源地址:</label></td>
								<td><input class="easyui-validatebox" type="text" name="resourceUrl"></input></td>
							</tr>
						</table>
					</div>
					<div data-options="region:'south',border:false" style="text-align:center;padding:5px;height:50px;">
						<input type="submit" class="btn btn-success" value="提交">
					</div>
				</form>
			</div>
		</div>
	</div>
</body>
</html>